package chp06.homework;

import java.util.Scanner;

public class Home1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        double sum = 0;
        for (int i = 1; i <= 5 ; i++) {
            System.out.print("请输入周"+i+"的学习时间:");
            int num = input.nextInt();
            sum += num;
        }
        double avg = sum / 5;
        System.out.println("平均:"+avg);
    }
}
